package cn.tedu.serviceEdu.client;

import cn.tedu.commonUtils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.Map;

@FeignClient(value = "serviceucenter")
@Component
public interface UcenterClient {
    @GetMapping("/ucenter/member/{id}")
    public Map<String,Object> getMemberById(@PathVariable String id);
}
